/*******************************************************************************
 * Copyright (c) 2010 Sylvain Sicard.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the GNU Lesser Public License v2.1
 * which accompanies this distribution, and is available at
 * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
 * 
 * Contributors:
 *     Sylvain Sicard - initial API and implementation
 ******************************************************************************/
package com.googlecode.ssdutils.jlauncher.test;

import com.googlecode.ssdutils.jlauncher.annotations.Launcher;
import com.googlecode.ssdutils.jlauncher.annotations.Option;

/**
 * @author Sylvain Sicard
 * 
 */
public class FakeLauncher {

	@Option(name = "host", help = "Host name of the service.")
	private String host;

	@Option(name = "port", help = "Port of the service.", optional = true)
	private int port;

	private String useless;

	@Launcher(command = "start")
	public void runStart() {
		System.out.println("runStart");
	}

	@Launcher
	public void runDefault() {
		System.out.println("runDefault");
	}

	public void setHost(String host) {
		this.host = host;
	}

	public String getHost() {
		return host;
	}

	public void setPort(int port) {
		this.port = port;
	}

	public int getPort() {
		return port;
	}

	public void setUseless(String useless) {
		this.useless = useless;
	}

	public String getUseless() {
		return useless;
	}
}
